PowerOfAttorney::Application.routes.draw do

  root :to => "home#index"
  
  resources :users
  resources :proposals
  resources :approvals
  resources :jurisdiction_members
  resources :jurisdictions  
  resources :roles
  
  resources :autocomplete
  
  
  resources :user_sessions
  match 'login' => 'user_sessions#new', :as => :login
  match 'logout' => 'user_sessions#destroy', :as => :logout
  
  resources :user_switch
  match 'user_switch_on' => 'user_switch#new', :as => :user_switch_on
  match 'user_switch_off' => 'user_switch#destroy', :as => :user_switch_off
  
end
